$def with (s, n)

$if s: $s[slice(n)] $(s[slice(n, None)] and "...")